Making The Most Of The Sieve Of Eratosthenes